package com.liruo.treasureattic.common.model.dto.user;

import com.liruo.treasureattic.common.model.constant.TreasureAtticConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @Author:liruo
 * @Date:2022-11-17-19:03:48
 * @Desc
 */
@ApiModel("登录对象")
@Data
public class UserLoginReq implements Serializable {
    private String email;
    /**
     * 8-64
     */
    private String pwd;
    @ApiModelProperty("有密码就不用验证码")
    private String code;
    @Serial
    private static final long serialVersionUID = TreasureAtticConstant.TREASURE_ATTIC_VERSION;
}
